package com.huabo.contract.mysql.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-04-07
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("TBL_CYHW_BUDETGOODS")
@ApiModel(value="TblCyhwBudetgoods对象", description="")
public class TblCyhwBudetgoodsMySql implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("GOODSID")
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select CYHWBUDGET_SEQUENCE.nextval from dual")
      private BigDecimal goodsid;

    @TableField("GOODSNAME")
    private String goodsname;

    @TableField("GOODSNO")
    private String goodsno;

    @TableField("PARENTID")
    private BigDecimal parentid;

    @Transient
    private String realname;//真实名字
    
}
